// checkLogin();
mui('.mui-bar').off('tap', '.mui-action-back', function () {
    redirect('index.html');
});

var type = GetQueryString('type');

if (type == undefined) {
    malert('', '非法操作', '返回', function () {
        locationReplace('index.html')
    });
}
//type  1.零售 2.购买水票 3.水票下单
var html = template('result_data',  {type:parseInt(type)});
$('.buy-success').append(html);